home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / desktop / pixch050.zip / PIXCHAR.TXT < prev   
Text File  |  1994-05-28  |  4KB  |  103 lines

  1.  
  2. Dear Window-lover:
  3.  
  4. Enclosed is my Visual Basic program, Pixel Characterizer. The purpose 
  5. of the program is to map each (two) pixel of a small bitmap picture to a character. 
  6. Then you are able to put/edit graph in your non-graphic text/terminal. 
  7. And pretty pictures/icons/signatures can be put in your regular text files.
  8. This version can do the reverse job - the 1st utility I have ever known
  9. to translate ASCII texts to Bimap pictures.
  10. Don't hesitate to give it a try. Dump it to your trash if you don't like it.
  11.  
  12. e.g.
  13.  
  14. A Bitmap picture as:
  15.  
  16. ^v^
  17.  =
  18.  
  19. Use Pixel Characterizer to convert it to:
  20.  
  21.                                     
  22.      **              **             
  23.     ****            ****            
  24.    **  **          **  **           
  25.                                     
  26.            **  **                   
  27.            **  **                   
  28.            **  **                   
  29.            **  **                   
  30.            **  **                   
  31.             ****                    
  32.              **                     
  33.                                     
  34.                                     
  35.                                     
  36.                                     
  37.                                     
  38.                                     
  39.                                     
  40.                                     
  41.                                     
  42.            ******                   
  43.                                     
  44.            ******                                          
  45.                                     
  46.  
  47.  
  48. How to use:
  49.  
  50. 1.    you need to have visual basic runtime library vbrun200.dll in you path.
  51.  
  52. Bitmap to ASCII
  53. 2.    prepare the bitmap picture which you want it to be converted. It could be either on screen or the 
  54. clipboard.
  55. 3.    click Capture button to capture a bitmap on screen or click Clipboard button to paste bitmap to Pixel 
  56. Window
  57. 4.    change number of rows/columns if needed. The default size is 24x72.  Because the regular terminal is 
  58. 24x80. I use 72 instead of 80 due to the reason of using VI editor(set number is used).
  59. 5.    change the color number if needed. The default color is black(0).
  60. 6.    change output character if needed. The default character is *.
  61. 7.    click 1-Char button, or Char-Scale button to convert bitmap to ASCII Window.  The converting time 
  62. depends on the configured number of rows/columns.
  63. 8a.    using 1-Char in 1-Pixel row any pixels which match specified color are converted to the specified 
  64. character; other pixels are converted to space.
  65. 8b.    using Character-Scale in 1-Pixel row button pixels are converted to appropriate characters according to 
  66. their gray-scale numbers(or luminosities) and depth selection.
  67. 8c.    in 2-Pixels row using   =>Single-Char , every two vertical pixels are converted to a character according 
  68. to the combination. The mapping characters are configurable and shown in sky blue boxes. This 
  69. scheme is similar to the PBMPLUS utility.
  70. 8d.    in 2-Pixels row using   => Char-Scale , every two vertical pixels are converted to a character according 
  71. to the combination and their gray-scale numbers (or luminosities) in three depth. For the time being the 
  72. mapping characters are not configurable. This scheme is not yet been implimented by others so far as 
  73. the author knows.
  74.  
  75. 9.    use Send Text to Clipboard button to send text in ASCII Window to clipboard.
  76. 10.    paste text in clipboard to your editor/dumb terminal/e-mail.
  77. 11.    enjoy yourself.
  78.  
  79. ASCII to Bitmap
  80. 2.    Prepare the ASCII text which you want it to be converted in clipboard. 
  81. 3.    click Get Text from Clipboard button to paste text to ASCII Window. 
  82. 4.    change the color number in the destination picture if needed. The default color is black(0).
  83. 5.    change the character which will be converted if needed. The default character is *.
  84. 6.    click Color-Single button to convert text in ASCII Window to a bitmap picture. Any characters which 
  85. match the specified character are converted to the specified color pixels; other characters are converted 
  86. to white pixels.
  87. 7.    use Copy to Clipboard button to send picture in Pixel Window to clipboard.
  88. 8.    paste picture in clipboard to your graphic editors/converters/viewers for post-processing.
  89. 9.    enjoy yourself.
  90.  
  91.  
  92.  
  93.  
  94. Contact:
  95.      Users are welcome to send me any comments/bugs/encouragement. 
  96. S.Y. Chen (Sy Chen)
  97. 120-4 Marshall Drive
  98. W. Lafayette, IN 47906
  99. U.S.A.
  100.  
  101. e-mail: chens@iia.org
  102.  
  103.